import home_routes from "./home_routes";
import my_routes from "./my_routes";
import diseaseRoutes from "./disease.routes";
import conRouters from './consu'
import { useRoutes } from 'react-router-dom'
import { Suspense } from 'react'
const RouterView = () => useRoutes(home_routes.concat(my_routes, diseaseRoutes, conRouters))
const Router: React.FC = () => {
  return (<Suspense>
    <RouterView></RouterView>
  </Suspense>)
}


export default Router